{use master_page('front/v_page_master')}

{block left} 
<!-- 网页标题(菜单) -->
<center>
<div class="content">
   <div class="main">
   <div class="banner2"><img src="images/banner2.jpg" width="1000" height="100"></div>
   <div class="bar"><b><a href="<?=_U("")?>"></a>{page->title}</b>
	   <span><font >当前位置 :</font> 
	   <a href="<?=_U("")?>" >首页&nbsp;&nbsp;></a>
			{page->title}
	   </span>
   </div>
   <div class="left">
     <div class="at3">
        <div class="at3_c">
        	<?=$page->wrap_content?> 
        </div>
        <div class="clear"></div>
     </div>
    </div>
	<div class="right">
	   <div class="box6">
	      <div class="prot3">
	         <div class="prot4">
	            <div class="at4">
	              <div class="block" style="width:210px">
					<div class="profile">
						<div class="profile_right" >
							<div class="title_bg">
								<div class="right_round_rectangle">
								</div>
								<h2 class="title3" >栏目导航</h2>
							</div>
							<div style="margin:12px 0px 25px 0px">
								<ul class="menu2">
									<?php   
									// 得到当前页所属的CLASS_ID
									$class_id = $page->class_id ; 
									// 根据CLASS_ID 得到所有此分类下的单页  
									$pages = $this->page_manager->get_list(array('class.id'=>$class_id));
									//print_r($pages);exit ; 
									?>
									<?foreach($pages as $page):?>
									<li><a href="<?php echo _U("page/show?id=".$page->id)?>"><?php echo $page->title?></a></li> 						
									<?endforeach;?> 
								</ul>  
								<div style="clear:both"></div>
							</div>
						</div>
					</div>
					<div class="bott_left_round_rectangle">&nbsp;</div>
					<div class="bott_right_round_rectangle">&nbsp;</div>
				</div>
	            </div>
	            <div class="jiantou"></div>
	
	         </div>
	      </div>
	  </div>
      <div class="box5">
         <div class="prot1">
            <div class="port2">
            		 <div class="title_bg">
						<div class="img2">
							<img src="images/icon8.jpg" width="32" height="32">
						</div>
						<div class="title10">联系我们</div>
						<div style="clear:both"></div>
					</div>
                    <div class="block" style="width:210px;margin-top:10px">
						<div class="profile">
							<div class="profile_right" >
								<div class="title_bg">
									<div class="right_round_rectangle">
									</div>
								</div>
								<div style="margin:12px 0px;text-align:left">
									<div style="MARGIN-TOP: 15px; PADDING-BOTTOM: 0px; MARGIN-LEFT: 25px; COLOR: #333; LINE-HEIGHT:200%">
										地&nbsp;&nbsp; 址：{site_info->address}<br>
										电&nbsp;&nbsp; 话：{site_info->phone}<br>
										手&nbsp;&nbsp; 机：{site_info->mobile_phone}<br>
										网&nbsp;&nbsp; 址：{site_info->url}
									</div>
									<div style="clear:both"></div>
								</div>
							</div>
						</div>
						<div class="bott_left_round_rectangle">&nbsp;</div>
						<div class="bott_right_round_rectangle">&nbsp;</div>
					</div>                                
            </div>
         </div>
      </div>
   </div>
   <div class="clear"></div> 
  </div>
</div>
</center>
{end}
